package com.yunshipei.ui.dialog;

import android.app.Dialog;
import android.content.Context;

import com.yunshipei.enterplorer.R;

public class BaseDialog extends Dialog {

    protected BaseDialog(Context context) {
        this(context, R.style.dialog_common);
    }

    protected BaseDialog(Context context, int theme) {
        super(context, theme);
        baseInit(context);
    }

    protected BaseDialog(Context context, boolean cancelable, OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
        baseInit(context);
        setAttr(context);
    }

    protected void setAttr(Context context) {

    }

    protected void baseInit(Context context) {

    }
}
